﻿#include "Whip.h"

Whip::Whip(Beverage* beverage)
{
	m_description = "奶泡";
	m_beverage = beverage;
}

string Whip::getDes()
{
	return m_beverage->getDes() + ", Whip";
}

double Whip::cost()
{
	return m_beverage->cost() + 0.5;//0.5是whip调料的价格
}
